<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>预约后台管理-后台管理</title>
    <link rel="stylesheet" href="__PUBLIC__/console/css/pintuer.css">
    <link rel="stylesheet" href="__PUBLIC__/console/css/admin.css">
    <script type="text/javascript" src="__PUBLIC__/js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/layer/layer.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/ajaxfileupload.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/checkAll.js"></script>
   
    <script src='/Public/js/spectrum.js'></script>
    <script src="__PUBLIC__/console/js/jquery.js"></script>
    <script src="__PUBLIC__/console/js/pintuer.js"></script>
    <script src="__PUBLIC__/console/js/respond.js"></script>
    <script src="__PUBLIC__/console/js/admin.js"></script>
    <script src="__PUBLIC__/console/js/laydate.js"></script>
    <link type="image/x-icon" href="/favicon.ico" rel="shortcut icon" />
    <link href="/favicon.ico" rel="bookmark icon" />
</head>


<!--头部 end-->
<script type="text/javascript" src="__PUBLIC__/js/ajaxfileupload.js"></script>
 <body>
<div class="lefter">
    <div class="logo"><a href="/console/index"><img src="__PUBLIC__/console/images/logo.png" alt="后台管理系统" /></a></div>
</div>
<div class="righter nav-navicon" id="admin-nav">
    <div class="mainer">
        <div class="admin-navbar">
            <span class="float-right">
              <a class="button button-little bg-main" href="/home" target="_blank">前台首页</a>
                <a class="button button-little bg-yellow" href="/Console/Base/quit">注销登录</a>
            </span>
            <ul class="nav nav-inline admin-nav">
                <li class="active"><a href="index.html" class="icon-home"> 开始</a>

                <ul>
                  <li id="shubiao"><a href="/console/console/">后台管理</a></li>
        
                  <li id="shubiao"><a href="/console/team">预约管理</a></li>
                  <li id="shubiao"><a href="/console/Blyuyue">病例预约</a></li>
                    <li id="shubiao"><a href="/console/Tousu">投诉管理</a></li>
                    <li id="shubiao"><a href="/console/leave">留言管理</a></li>

                  <li id="shubiao"><a href="/Console/product">医生管理</a></li>
                  <li id="shubiao"><a href="/Console/type">科室管理</a></li>
                  <li id="shubiao"><a href="/Console/hosturl">URL路径设置</a></li>
                </ul>
                </li>
                
            </ul>
        </div>
        <div class="admin-bread">
            <span>您好，admin，欢迎您的光临。</span>
            <ul class="bread">
                <li><a href="index.html" class="icon-home"> 开始</a></li>
                <li>后台首页</li>
            </ul>
        </div>
    </div>
</div>
<!--内容页-->
<div class="admin">
    <div class="line-big">
        
       
 <!--菜单 end-->
<form  id='crewForm' >
    <script>
        <!-- Row Highlight Javascript -->
        window.onload=function(){
            var tfrow = document.getElementById('tfhover').rows.length;
            var tbRow=[];
            for (var i=1;i<tfrow;i++) {
                tbRow[i]=document.getElementById('tfhover').rows[i];
                tbRow[i].onmouseover = function(){
                    this.style.backgroundColor = '#f3f8aa';
                };
                tbRow[i].onmouseout = function() {
                    this.style.backgroundColor = '#ffffff';
                };
            }
        };
    </script>

    <div class="form-button" align="center">

    <style type="text/css">
        table.tftable {font-size:12px;color:#333333;width:50%;border-width: 1px;border-color: #729ea5;border-collapse: collapse;}
        table.tftable th {font-size:12px;background-color:#acc8cc;border-width: 1px;padding: 8px;border-style: solid;border-color: #729ea5;text-align:left;}
        table.tftable tr {background-color:#ffffff;}
        table.tftable td {font-size:12px;border-width: 1px;padding: 8px;border-style: solid;border-color: #729ea5;}
    </style>

    <table id="tfhover" class="tftable" border="1">
        <tr><th>标题</th><th>内容</th></tr>
        <tr><td>导医台服务是否满意</td><td><?php echo ($result["tq1"]); ?></td></tr>
        <tr><td>主管医生的诊疗措施否满意</td><td><?php echo ($result["tq2"]); ?></td></tr>
        <tr><td>主管医生的服务态度是否满意</td><td><?php echo ($result["tq3"]); ?></td></tr>
        <tr><td>护士的技术是否满意</td><td><?php echo ($result["tq4"]); ?></td></tr>
        <tr><td>护士的服务态度是否满意</td><td><?php echo ($result["tq5"]); ?></td></tr>
        <tr><td>医院卫生、就诊环境是否满意</td><td><?php echo ($result["tq6"]); ?></td></tr>
        <tr><td>药房、收费室的服务态度是否满意</td><td><?php echo ($result["tq7"]); ?></td></tr>
        <tr><td>辅助科室的服务态度是否满意</td><td><?php echo ($result["tq8"]); ?></td></tr>
        <tr><td>收费价格、规范、透明度是否满意</td><td><?php echo ($result["tq9"]); ?></td></tr>
        <tr><td>有无收受“红包”索要财物</td><td><?php echo ($result["tq10"]); ?></td></tr>
        <tr><td>医生巡房次数</td><td><?php echo ($result["tq11"]); ?></td></tr>
        <tr><td>姓名</td><td><?php echo ($result["tq13"]); ?></td></tr>
        <tr><td>年龄</td><td><?php echo ($result["tq14"]); ?></td></tr>
        <tr><td>性别</td><td><?php echo ($result["tq15"]); ?></td></tr>
        <tr><td>入院日期</td><td><?php echo ($result["tq16"]); ?></td></tr>
        <tr><td>住院号</td><td><?php echo ($result["tq17"]); ?></td></tr>
        <tr><td>病床</td><td><?php echo ($result["tq18"]); ?></td></tr>
        <tr><td>病人科室</td><td><?php echo ($result["title"]); ?></td></tr>
        <tr><td>主治医师</td><td><?php echo ($result["td_name"]); ?><img src="<?php echo ($result["base_img"]); ?>" style="width: 100px"></td></tr>
        <tr><td>对医院工作有何意见和建议</td><td><?php echo ($result["tq20"]); ?></td></tr>
        <tr><td>联系方式</td><td><?php echo ($result["tq21"]); ?></td></tr>
        <tr><td>提交信息来源地址</td><td><?php echo ($result["ly_url"]); ?></td></tr>
        <tr><td>提交信息来源IP</td><td><?php echo ($result["ly_ip"]); ?></td></tr>
        <tr><td>提交信息时间</td><td><?php echo ($result["add_time"]); ?></td></tr>
        <tr><td>是否有效</td><td><?php echo ($sort); ?></td></tr>
    </table>


    <div class="form-group">
        <div class="label"><label for="title">是否有效</label></div>
        <div class="field">
            <input type="text" class="input"  name="is_sort" size="20" value="<?php echo ($result["is_sort"]); ?>" placeholder="" style="width:40%;" />
            <p>1为未审核；2为有效数据；3为无效内容</p>
        </div>
    </div>

    <p></p>
                            <input type="hidden" name="ly_id" value="<?php echo ($result["ly_id"]); ?>">
       <button class="button bg-main" enctype="multipart/form-data" id="sure" type="submit">提交</button></div>

</form>


            <br/>
          </div>
    </div>
   


</body>
</html>
 
 <!--底部 end-->
 <script>
    //异步表单提交
        $('#sure').click(function(){

            $.post('/Console/Tousu/doUpdate',$('form').serialize(),function(data){

                if ( data.status )
                {
                    layer.alert(data.info, 1);

                    //刷新当前页
                    location.href = "/Console/Tousu";
                }
                else
                {

                    layer.alert(data.info);

                }

            },'json');

            return false;

        })

</script>